// 账户
export default {
  name: 'account',
  icon: 'user',
  path: '/account',
  authority: ['404'],
  routes: [
    {
      path: '/account/center',
      name: 'center',
      component: './Account/Center/Center',
      routes: [
        {
          path: '/account/center',
          redirect: '/account/center/articles',
        },
        {
          path: '/account/center/articles',
          component: './Account/Center/Articles',
        },
        {
          path: '/account/center/applications',
          component: './Account/Center/Applications',
        },
        {
          path: '/account/center/projects',
          component: './Account/Center/Projects',
        },
      ],
    },
    {
      path: '/account/settings',
      name: 'settings',
      component: './Account/Settings/Info',
      routes: [
        {
          path: '/account/settings',
          redirect: '/account/settings/base',
        },
        {
          path: '/account/settings/base',
          component: './Account/Settings/BaseView',
        },
        {
          path: '/account/settings/security',
          component: './Account/Settings/SecurityView',
        },
        {
          path: '/account/settings/binding',
          component: './Account/Settings/BindingView',
        },
        {
          path: '/account/settings/notification',
          component: './Account/Settings/NotificationView',
        },
      ],
    },
  ],
};
